Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/skillcorner timestamp #338

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

UnravelSports
Copy link
Contributor

I noticed that at some point SkillCorner changed all their "time" keys to "timestamp", not only in the "jsonl" files.

So, I rewrote __load_json() and added __load_json_raw() the latter renames any "timestamp" key back to "time" to make it compatible with every time the "time" key is required in the deserializer.

Also added a test and a test file for the "timestamp" situation. This test simply loads the dataset, the rest should be the same as the other tests.

Note: I removed a lot of 2nd half frames from the test file, because the file size was greater than 50MB.

@UnravelSports UnravelSports marked this pull request as ready for review July 15, 2024 12:32
Copy link
Collaborator

@JanVanHaaren JanVanHaaren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request looks good to me! Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants